home *** CD-ROM | disk | FTP | other *** search
/ QuickTime VR Showcase / QuickTime VR Showcase.iso / 3rd Parties / Software / Apple / AMT 2.1 New Features Demo / SOURCES / oQTVR_2_3.k < prev    next >
Encoding:
Text File  |  1996-12-21  |  13.1 KB  |  613 lines  |  [TEXT/MPS ]

  1. object oQTVR_2_3 is cDefaultContainer
  2. with
  3.     Binder is oBinder;
  4.     Label is -1;
  5.     Items is [
  6.         oKeyboard_Volume__3_27,
  7.         oClick_Sound__Up__3_1,
  8.         oClick_Sound__down__3_2,
  9.         oQV_BCK2_PIC_3_16,
  10.         oArrow_Right_Yellow_Highligh_3_4,
  11.         oArrow_Left_Yellow_Highlight_3_5,
  12.         oExit_Yellow_Highlight_3_6,
  13.         oExplain_Yellow_Highlight_3_20,
  14.         oMenu_Yellow_Highlight_3_8,
  15.         oArrow_Left_Inverse_3_9,
  16.         oArrow_Right_Inverse_3_10,
  17.         oExit_Inverse_3_11,
  18.         oExplain_Inverse_3_12,
  19.         oMenu_Inverse_3_13,
  20.         oQV_EXPL_MOV_3_17,
  21.         oQV_POTH_PIC_3_19,
  22.         oQV_HLP2_PIC_3_21
  23.     ];
  24. end;
  25.  
  26.  
  27. object oKeyboard_Volume__3_27 is cKeyboardHandler
  28. with
  29.     Behavior is cDefaultBehavior
  30.     has
  31.         KeyDown(theTarget, theKey)
  32.         use
  33.             KeyMatch;
  34.             
  35.             do
  36.                 KeyMatch := theKey = '-';
  37.                 if KeyMatch then
  38.                     theTarget.DoDefaultMethod := false;
  39.                 
  40.                     oSoundVolume.StepIndexBy(-1);
  41.                 end;
  42.                 KeyMatch := theKey = '=';
  43.                 if KeyMatch then
  44.                     theTarget.DoDefaultMethod := false;
  45.                 
  46.                     oSoundVolume.StepIndexBy(1);
  47.                 end;
  48.                 KeyMatch := theKey = '+';
  49.                 if KeyMatch then
  50.                     theTarget.DoDefaultMethod := false;
  51.                 
  52.                     oSoundVolume.StepIndexBy(1);
  53.                 end;
  54.             end;
  55.         
  56.     with
  57.         Enabled is true; Shown is false; 
  58.         X is 30; Y is 24; Width is 0; Height is 0;
  59.     end;
  60. end;
  61.  
  62.  
  63. object oClick_Sound__Up__3_1 is cSoundHandler
  64. with
  65.     Supplier is oS3_2clk_WAV;
  66.     Behavior is cDefaultBehavior
  67.     has
  68.     with
  69.         Enabled is true; Shown is true; 
  70.         X is 247; Y is 128; Width is 32; Height is 24;
  71.     end;
  72. end;
  73.  
  74.  
  75. object oClick_Sound__down__3_2 is cSoundHandler
  76. with
  77.     Supplier is oS3_clk_WAV;
  78.     Behavior is cDefaultBehavior
  79.     has
  80.     with
  81.         Enabled is true; Shown is true; 
  82.         X is 304; Y is 228; Width is 32; Height is 24;
  83.     end;
  84. end;
  85.  
  86.  
  87. object oQV_BCK2_PIC_3_16 is cPictureHandler
  88. with
  89.     Duration is -1;
  90.     Supplier is oQV_BCK2_PIC;
  91.     Behavior is cDefaultBehavior
  92.     has
  93.     with
  94.         Enabled is false; Shown is true; 
  95.         X is 0; Y is 0; Width is 640; Height is 480;
  96.     end;
  97. end;
  98.  
  99.  
  100. object oArrow_Right_Yellow_Highligh_3_4 is cPictureHandler
  101. with
  102.     Duration is -1;
  103.     Supplier is oS2_ALYH_PIC;
  104.     Behavior is cDefaultBehavior
  105.     has
  106.         Offscreen(theTarget)
  107.             do
  108.                 theTarget.Show(false);
  109.             end;
  110.         
  111.         MouseEnter(theTarget, theX, theY)
  112.             do
  113.                 theTarget.Show(true);
  114.             end;
  115.         
  116.         MouseLeave(theTarget, theX, theY)
  117.             do
  118.                 theTarget.Show(false);
  119.             end;
  120.         
  121.         MouseDown(theTarget, theX, theY)
  122.             do
  123.                 theTarget.Show(false);
  124.                 oArrow_Right_Inverse_3_10.Show(true);
  125.                 -- Turn off the spining cursor, if there is one
  126.                 if oBinder.MouseSpin<>void then
  127.                     if oBinder.MouseSpin.IsRunning() then
  128.                         oBinder.MouseSpin.Stop();
  129.                     end;
  130.                     oBinder.MouseSpin := void;
  131.                 end;
  132.                 theTarget.Container.OverrideCursor := true;
  133.                 oBinder.MouseSpin := oHandSpin;
  134.                 if (oBinder.MouseSpin @ 1).Data=void then
  135.                     oBinder.MouseSpin.EachUp(Load);
  136.                 end;
  137.                 if not oBinder.MouseSpin.IsRunning() then
  138.                     oBinder.MouseSpin.Start();
  139.                 end;
  140.                 oBinder.Refresh();
  141.                 oClick_Sound__down__3_2.Run(true);
  142.             end;
  143.         
  144.         MouseUp(theTarget, theX, theY)
  145.             do
  146.                 theTarget.Show(true);
  147.                 oArrow_Right_Inverse_3_10.Show(false);
  148.                 -- Turn off the spining cursor, if there is one
  149.                 if oBinder.MouseSpin<>void then
  150.                     if oBinder.MouseSpin.IsRunning() then
  151.                         oBinder.MouseSpin.Stop();
  152.                     end;
  153.                     oBinder.MouseSpin := void;
  154.                 end;
  155.                 theTarget.Container.OverrideCursor := false;
  156.                 oBinder.Refresh();
  157.                 oClick_Sound__Up__3_1.Run(true);
  158.                 oBinder.Goto(oMain_Menu_1);
  159.                 oBinder.SetTransition(oWipeRight, 30);
  160.             end;
  161.         
  162.     with
  163.         Enabled is true; Shown is true; 
  164.         X is 473; Y is 426; Width is 55; Height is 54;
  165.     end;
  166. end;
  167.  
  168.  
  169. object oArrow_Left_Yellow_Highlight_3_5 is cPictureHandler
  170. with
  171.     Duration is -1;
  172.     Supplier is oS2_ARYH_PIC;
  173.     Behavior is cDefaultBehavior
  174.     has
  175.         Offscreen(theTarget)
  176.             do
  177.                 theTarget.Show(false);
  178.             end;
  179.         
  180.         MouseEnter(theTarget, theX, theY)
  181.             do
  182.                 theTarget.Show(true);
  183.             end;
  184.         
  185.         MouseLeave(theTarget, theX, theY)
  186.             do
  187.                 theTarget.Show(false);
  188.             end;
  189.         
  190.         MouseDown(theTarget, theX, theY)
  191.             do
  192.                 theTarget.Show(false);
  193.                 oArrow_Left_Inverse_3_9.Show(true);
  194.                 -- Turn off the spining cursor, if there is one
  195.                 if oBinder.MouseSpin<>void then
  196.                     if oBinder.MouseSpin.IsRunning() then
  197.                         oBinder.MouseSpin.Stop();
  198.                     end;
  199.                     oBinder.MouseSpin := void;
  200.                 end;
  201.                 theTarget.Container.OverrideCursor := true;
  202.                 oBinder.MouseSpin := oHandSpin;
  203.                 if (oBinder.MouseSpin @ 1).Data=void then
  204.                     oBinder.MouseSpin.EachUp(Load);
  205.                 end;
  206.                 if not oBinder.MouseSpin.IsRunning() then
  207.                     oBinder.MouseSpin.Start();
  208.                 end;
  209.                 oBinder.Refresh();
  210.                 oClick_Sound__down__3_2.Run(true);
  211.             end;
  212.         
  213.         MouseUp(theTarget, theX, theY)
  214.             do
  215.                 theTarget.Show(true);
  216.                 oArrow_Left_Inverse_3_9.Show(false);
  217.                 -- Turn off the spining cursor, if there is one
  218.                 if oBinder.MouseSpin<>void then
  219.                     if oBinder.MouseSpin.IsRunning() then
  220.                         oBinder.MouseSpin.Stop();
  221.                     end;
  222.                     oBinder.MouseSpin := void;
  223.                 end;
  224.                 theTarget.Container.OverrideCursor := false;
  225.                 oBinder.Refresh();
  226.                 oClick_Sound__Up__3_1.Run(true);
  227.                 oBinder.Goto(oQTVR_1_2);
  228.                 oBinder.SetTransition(oWipeRight, 30);
  229.             end;
  230.         
  231.     with
  232.         Enabled is true; Shown is true; 
  233.         X is 377; Y is 426; Width is 60; Height is 54;
  234.     end;
  235. end;
  236.  
  237.  
  238. object oExit_Yellow_Highlight_3_6 is cPictureHandler
  239. with
  240.     Duration is -1;
  241.     Supplier is oS2_ETYH_PIC;
  242.     Behavior is cDefaultBehavior
  243.     has
  244.         Offscreen(theTarget)
  245.             do
  246.                 theTarget.Show(false);
  247.             end;
  248.         
  249.         MouseEnter(theTarget, theX, theY)
  250.             do
  251.                 theTarget.Show(true);
  252.             end;
  253.         
  254.         MouseLeave(theTarget, theX, theY)
  255.             do
  256.                 theTarget.Show(false);
  257.             end;
  258.         
  259.         MouseDown(theTarget, theX, theY)
  260.             do
  261.                 theTarget.Show(false);
  262.                 oExit_Inverse_3_11.Show(true);
  263.                 -- Turn off the spining cursor, if there is one
  264.                 if oBinder.MouseSpin<>void then
  265.                     if oBinder.MouseSpin.IsRunning() then
  266.                         oBinder.MouseSpin.Stop();
  267.                     end;
  268.                     oBinder.MouseSpin := void;
  269.                 end;
  270.                 theTarget.Container.OverrideCursor := true;
  271.                 oBinder.MouseSpin := oHandSpin;
  272.                 if (oBinder.MouseSpin @ 1).Data=void then
  273.                     oBinder.MouseSpin.EachUp(Load);
  274.                 end;
  275.                 if not oBinder.MouseSpin.IsRunning() then
  276.                     oBinder.MouseSpin.Start();
  277.                 end;
  278.                 oBinder.Refresh();
  279.                 oClick_Sound__down__3_2.Run(true);
  280.             end;
  281.         
  282.         MouseUp(theTarget, theX, theY)
  283.             do
  284.                 theTarget.Show(true);
  285.                 oExit_Inverse_3_11.Show(false);
  286.                 -- Turn off the spining cursor, if there is one
  287.                 if oBinder.MouseSpin<>void then
  288.                     if oBinder.MouseSpin.IsRunning() then
  289.                         oBinder.MouseSpin.Stop();
  290.                     end;
  291.                     oBinder.MouseSpin := void;
  292.                 end;
  293.                 theTarget.Container.OverrideCursor := false;
  294.                 oBinder.Refresh();
  295.                 oClick_Sound__Up__3_1.Run(true);
  296.                 oBinder.Quit();
  297.             end;
  298.         
  299.     with
  300.         Enabled is true; Shown is true; 
  301.         X is 528; Y is 426; Width is 111; Height is 54;
  302.     end;
  303. end;
  304.  
  305.  
  306. object oExplain_Yellow_Highlight_3_20 is cPictureHandler
  307. with
  308.     Duration is -1;
  309.     Supplier is oS2_EXYH_PIC;
  310.     Behavior is cDefaultBehavior
  311.     has
  312.         Offscreen(theTarget)
  313.             do
  314.                 theTarget.Show(false);
  315.             end;
  316.         
  317.         MouseEnter(theTarget, theX, theY)
  318.             do
  319.                 theTarget.Show(true);
  320.                 -- Turn off the spining cursor, if there is one
  321.                 if oBinder.MouseSpin<>void then
  322.                     if oBinder.MouseSpin.IsRunning() then
  323.                         oBinder.MouseSpin.Stop();
  324.                     end;
  325.                     oBinder.MouseSpin := void;
  326.                 end;
  327.                 theTarget.Container.OverrideCursor := true;
  328.                 if oQueryCursor=void then
  329.                     oQueryCursor.Load();
  330.                 end;
  331.                 oQueryCursor.Set();
  332.             end;
  333.         
  334.         MouseLeave(theTarget, theX, theY)
  335.             do
  336.                 theTarget.Show(false);
  337.                 -- Turn off the spining cursor, if there is one
  338.                 if oBinder.MouseSpin<>void then
  339.                     if oBinder.MouseSpin.IsRunning() then
  340.                         oBinder.MouseSpin.Stop();
  341.                     end;
  342.                     oBinder.MouseSpin := void;
  343.                 end;
  344.                 theTarget.Container.OverrideCursor := false;
  345.             end;
  346.         
  347.         MouseDown(theTarget, theX, theY)
  348.             do
  349.                 theTarget.Show(false);
  350.                 oExplain_Inverse_3_12.Show(true);
  351.                 oBinder.Refresh();
  352.                 oClick_Sound__down__3_2.Run(true);
  353.                 oQV_HLP2_PIC_3_21.Show(not oQV_HLP2_PIC_3_21.IsShown());
  354.                 oBinder.StopAll();
  355.                 oQV_EXPL_MOV_3_17.Show(not oQV_EXPL_MOV_3_17.IsShown());
  356.                 oQV_EXPL_MOV_3_17.Enable(not oQV_EXPL_MOV_3_17.IsEnabled());
  357.                 oQV_POTH_PIC_3_19.Enable(not oQV_POTH_PIC_3_19.IsEnabled());
  358.             end;
  359.         
  360.         MouseUp(theTarget, theX, theY)
  361.             do
  362.                 theTarget.Show(true);
  363.                 oExplain_Inverse_3_12.Show(false);
  364.                 oBinder.Refresh();
  365.                 oClick_Sound__Up__3_1.Run(true);
  366.             end;
  367.         
  368.     with
  369.         Enabled is true; Shown is true; 
  370.         X is 289; Y is 427; Width is 87; Height is 53;
  371.     end;
  372. end;
  373.  
  374.  
  375. object oMenu_Yellow_Highlight_3_8 is cPictureHandler
  376. with
  377.     Duration is -1;
  378.     Supplier is oS2_MNUYH_PIC;
  379.     Behavior is cDefaultBehavior
  380.     has
  381.         Offscreen(theTarget)
  382.             do
  383.                 theTarget.Show(false);
  384.             end;
  385.         
  386.         MouseEnter(theTarget, theX, theY)
  387.             do
  388.                 theTarget.Show(true);
  389.             end;
  390.         
  391.         MouseLeave(theTarget, theX, theY)
  392.             do
  393.                 theTarget.Show(false);
  394.             end;
  395.         
  396.         MouseDown(theTarget, theX, theY)
  397.             do
  398.                 theTarget.Show(false);
  399.                 oMenu_Inverse_3_13.Show(true);
  400.                 -- Turn off the spining cursor, if there is one
  401.                 if oBinder.MouseSpin<>void then
  402.                     if oBinder.MouseSpin.IsRunning() then
  403.                         oBinder.MouseSpin.Stop();
  404.                     end;
  405.                     oBinder.MouseSpin := void;
  406.                 end;
  407.                 theTarget.Container.OverrideCursor := true;
  408.                 oBinder.MouseSpin := oHandSpin;
  409.                 if (oBinder.MouseSpin @ 1).Data=void then
  410.                     oBinder.MouseSpin.EachUp(Load);
  411.                 end;
  412.                 if not oBinder.MouseSpin.IsRunning() then
  413.                     oBinder.MouseSpin.Start();
  414.                 end;
  415.                 oBinder.Refresh();
  416.                 oClick_Sound__down__3_2.Run(true);
  417.             end;
  418.         
  419.         MouseUp(theTarget, theX, theY)
  420.             do
  421.                 theTarget.Show(true);
  422.                 oMenu_Inverse_3_13.Show(false);
  423.                 -- Turn off the spining cursor, if there is one
  424.                 if oBinder.MouseSpin<>void then
  425.                     if oBinder.MouseSpin.IsRunning() then
  426.                         oBinder.MouseSpin.Stop();
  427.                     end;
  428.                     oBinder.MouseSpin := void;
  429.                 end;
  430.                 theTarget.Container.OverrideCursor := false;
  431.                 oBinder.Refresh();
  432.                 oClick_Sound__Up__3_1.Run(true);
  433.                 oBinder.Goto(oMain_Menu_1);
  434.                 oBinder.SetTransition(oWipeRight, 30);
  435.             end;
  436.         
  437.     with
  438.         Enabled is true; Shown is true; 
  439.         X is 163; Y is 427; Width is 126; Height is 53;
  440.     end;
  441. end;
  442.  
  443.  
  444. object oArrow_Left_Inverse_3_9 is cPictureHandler
  445. with
  446.     Duration is -1;
  447.     Supplier is oS2_ALI_PIC;
  448.     Behavior is cDefaultBehavior
  449.     has
  450.         Offscreen(theTarget)
  451.             do
  452.                 theTarget.Show(false);
  453.                 theTarget.Enable(false);
  454.             end;
  455.         
  456.     with
  457.         Enabled is true; Shown is true; 
  458.         X is 381; Y is 441; Width is 51; Height is 40;
  459.     end;
  460. end;
  461.  
  462.  
  463. object oArrow_Right_Inverse_3_10 is cPictureHandler
  464. with
  465.     Duration is -1;
  466.     Supplier is oS2_ARI_PIC;
  467.     Behavior is cDefaultBehavior
  468.     has
  469.         Offscreen(theTarget)
  470.             do
  471.                 theTarget.Show(false);
  472.                 theTarget.Enable(false);
  473.             end;
  474.         
  475.     with
  476.         Enabled is true; Shown is true; 
  477.         X is 477; Y is 438; Width is 50; Height is 42;
  478.     end;
  479. end;
  480.  
  481.  
  482. object oExit_Inverse_3_11 is cPictureHandler
  483. with
  484.     Duration is -1;
  485.     Supplier is oS2_ETI_PIC;
  486.     Behavior is cDefaultBehavior
  487.     has
  488.         Offscreen(theTarget)
  489.             do
  490.                 theTarget.Show(false);
  491.                 theTarget.Enable(false);
  492.             end;
  493.         
  494.     with
  495.         Enabled is true; Shown is true; 
  496.         X is 528; Y is 439; Width is 112; Height is 42;
  497.     end;
  498. end;
  499.  
  500.  
  501. object oExplain_Inverse_3_12 is cPictureHandler
  502. with
  503.     Duration is -1;
  504.     Supplier is oS2_EXI_PIC;
  505.     Behavior is cDefaultBehavior
  506.     has
  507.         Offscreen(theTarget)
  508.             do
  509.                 theTarget.Show(false);
  510.                 theTarget.Enable(false);
  511.             end;
  512.         
  513.     with
  514.         Enabled is true; Shown is true; 
  515.         X is 291; Y is 438; Width is 87; Height is 43;
  516.     end;
  517. end;
  518.  
  519.  
  520. object oMenu_Inverse_3_13 is cPictureHandler
  521. with
  522.     Duration is -1;
  523.     Supplier is oS2_MNUI_PIC;
  524.     Behavior is cDefaultBehavior
  525.     has
  526.         Offscreen(theTarget)
  527.             do
  528.                 theTarget.Show(false);
  529.                 theTarget.Enable(false);
  530.             end;
  531.         
  532.     with
  533.         Enabled is true; Shown is true; 
  534.         X is 167; Y is 438; Width is 123; Height is 43;
  535.     end;
  536. end;
  537.  
  538.  
  539. object oQV_EXPL_MOV_3_17 is cVRPanHandler
  540. with
  541.     Supplier is oQV_EXPL_MOV;
  542.     Behavior is cDefaultBehavior
  543.     has
  544.         Onscreen(theTarget)
  545.             do
  546.                 theTarget.Show(true);
  547.             end;
  548.         
  549.     with
  550.         Enabled is true; Shown is false; 
  551.         X is 295; Y is 28; Width is 320; Height is 200;
  552.     end;
  553. end;
  554.  
  555.  
  556. object oQV_POTH_PIC_3_19 is cPictureHandler
  557. with
  558.     Duration is -1;
  559.     Supplier is oQV_POTH_PIC;
  560.     Behavior is cDefaultBehavior
  561.     has
  562.         MouseEnter(theTarget, theX, theY)
  563.             do
  564.                 theTarget.Show(true);
  565.             end;
  566.         
  567.         MouseUp(theTarget, theX, theY)
  568.             do
  569.                 oQV_EXPL_MOV_3_17.GoToAngle( 0,3,40,1,1,0);
  570.                 oQV_EXPL_MOV_3_17.GoToAngle( 30,5,40,1,1,0);
  571.                 oQV_EXPL_MOV_3_17.GoToAngle( 60,7,40,1,1,0);
  572.                 oQV_EXPL_MOV_3_17.GoToAngle( 90,9,40,1,1,0);
  573.                 oQV_EXPL_MOV_3_17.GoToAngle( 120,11,40,1,1,0);
  574.                 oQV_EXPL_MOV_3_17.GoToAngle( 150,13,40,1,1,0);
  575.                 oQV_EXPL_MOV_3_17.GoToAngle( 180,8,40,1,1,0);
  576.                 oQV_EXPL_MOV_3_17.GoToAngle( 210,3,40,1,1,0);
  577.                 oQV_EXPL_MOV_3_17.GoToAngle( 240,-2,40,1,1,0);
  578.                 oQV_EXPL_MOV_3_17.GoToAngle( 270,-7,40,1,1,0);
  579.                 oQV_EXPL_MOV_3_17.GoToAngle( 300,-12,40,1,1,0);
  580.                 oQV_EXPL_MOV_3_17.GoToAngle( 330,-17,40,1,1,0);
  581.                 oQV_EXPL_MOV_3_17.GoToAngle( 360,-22,40,1,1,0);
  582.             end;
  583.         
  584.         MouseDown(theTarget, theX, theY)
  585.             do
  586.                 oClick_Sound__down__3_2.Run(true);
  587.             end;
  588.         
  589.         MouseLeave(theTarget, theX, theY)
  590.             do
  591.                 theTarget.Show(false);
  592.             end;
  593.         
  594.     with
  595.         Enabled is true; Shown is false; 
  596.         X is 270; Y is 315; Width is 171; Height is 71;
  597.     end;
  598. end;
  599.  
  600.  
  601. object oQV_HLP2_PIC_3_21 is cPictureHandler
  602. with
  603.     Duration is -1;
  604.     Supplier is oQV_HLP2_PIC;
  605.     Behavior is cDefaultBehavior
  606.     has
  607.     with
  608.         Enabled is false; Shown is false; 
  609.         X is 168; Y is 0; Width is 473; Height is 425;
  610.     end;
  611. end;
  612.  
  613.